[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DOSERROR()

    DOSERROR() determines the error number of the last DOS error.

Syntax

    DOSERROR()

Returns

    An integer numeric value.

Usage

    DOSERROR() is used in conjunction with the error function Open_error()
    to determine the exact cause of a file use error.

    When your program experiences a DOS error, the errror includes a
    number, described below.

    Error #     Description
       1        Invalid function number
       2        File not found
       3        Path not found
       4        Too many open files (no handles left)
       5        Access denied
       6        Invalid handle
       7        Memory control blocks destroyed
       8        Insufficient memory
       9        Invalid memory block address
      10        Invalid environment
      11        Invalid format
      12        Invalid access code
      13        Invalid data
      14        Reserved
      15        Invalid drive was specified
      16        Attempt to remove current directory
      17        Not same device
      18        No more files
      19        Attempt to write on write-protected diskette
      20        Unknown unit
      21        Drive not ready
      22        Unknown command
      23        Data error (CRC)
      24        Bad request structure length
      25        Seek error
      26        Unknown media type
      27        Sector not found
      28        Printer out of paper
      29        Write fault
      30        Read fault
      31        General failure
      32        Sharing violation
      33        Lock violation
      34        Invalid disk change
      35        FCB unavailable
      36        Sharing buffer overflow
    37-49       Reserved
      50        Network request not supported
      51        Remote computer not listening
      52        Duplicate name on network
      53        Network name not found
      54        Network busy
      55        Network device no longer exists
      56        Network BIOS command limit exceeded
      57        Network adapter hardware error
      58        Incorrect response from network
      59        Unexpected network error
      60        Incompatible remote adapter
      61        Print queue full
      62        Not enough space for print file
      63        Print file deleted (not enough space)
      64        Network name deleted
      65        Access denied
      66        Network device type incorrect
      67        Network name not found
      68        Network name limit exceeded
      69        Network BIOS session limit exceeded
      70        Temporarily paused
      71        Network request not accepted
      72        Print or disk redirection paused
     73-79      Reserved
      80        File exists
      81        Reserved
      82        Cannot make directory entry
      83        Fail on INT 24
      84        Too many redirections
      85        Duplicate redirection
      86        Invalid password
      87        Invalid parameter
      88        Network device fault

See Also: FERROR
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson